<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户信息管理</title>
</head>
<body>
<h2 align="center">用户信息</h2>
    <table border="1" align="center">
        <tr>
            <th>编号</th>
            <th>姓名</th>
            <th>手机号</th>
            <th>头像</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
        <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                <td><?php echo ($vo["number"]); ?></td>
                <td><?php echo ($vo["name"]); ?></td>
                <td><?php echo ($vo["phone"]); ?></td>
                <td><?php echo ($vo["head_img"]); ?></td>
                <td><?php echo ($vo["create_time"]); ?></td>
                <td>
                    <a href="/index.php?c=user&a=delete&id=<?php echo ($vo["id"]); ?>">删除</a>
                    <a href="/index.php?c=user&a=update&id=<?php echo ($vo["id"]); ?>">修改</a>
                </td>
            </tr><?php endforeach; endif; else: echo "" ;endif; ?>
    </table>
<div align="center">
    <a href="/index.php?c=admin&a=index" >退出</a>
    <a href="/index.php?c=user&a=add">增加用户</a>
</div>
</body>
</html>